package com.lyx.crm.annotation;

import java.lang.annotation.*;

/**
 * @Package: com.lyx.crm.annotation
 * @ClassName: RequiredPermission
 * @Author: lyx
 * @CreateTime: 2021/9/8 21:21
 * @Description: 定义方法需要的对应资源权限码
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequiredPermission {
    //权限码
    String code() default "";
}
